<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const r1 = 1 + 1;
      console.log(r1); //2

      const r2 = "abc" + "efg";
      console.log(r2); // abcefg

      const r3 = "100" + "20";
      console.log(r3); // 10020

      const r4 = 100 + "20";
      console.log(r4); // 10020

      const r5 = 100 + 20 + "abc";
      console.log(r5); // 120abc
    </script>
  </body>
</html>
